import axios from '@/utils/http'

export function listByOrder(params: any) {
  return axios({
    url: '/details/listByOrder',
    method: 'get',
    params: params
  })
}
export function delOrder(params: any) {
  return axios({
    url: '/order/del',
    method: 'get',
    params: params
  })
}
export function addOrder(params: any) {
  return axios({
    url: '/order/add',
    method: 'post',
    params: params
  })
}
export function updOrder(params: any) {
  return axios({
    url: '/order/update',
    method: 'post',
    params: params
  })
}



